package com.ruoyi.web.task;

import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

/**
 * @author tianl
 * @date 2025/1/20
 * @description:
 */
@Component
public class AutoTask {
    /**
     * 每天凌晨0点10分查询项目逾期情况
     */
    @Scheduled(cron = "0 10 0 * * ?")
    public void update() {
        System.out.println("======");
    }
}
